﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Future.FormBase
{
    public partial class frmModuleContainer : frmBaseChild
    {
        public frmModuleContainer()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 显示主窗体的按钮
        /// </summary>
        public override void InitButtons()
        {
            IMdiForm mdi = (IMdiForm)this.MdiParent;
            Buttons.AddRange(mdi.MdiButtons);

            Buttons.GetButtonByName("btnClose").Enable = true;
            this.ControlBox = false;
        }
    }
}
